package com.rjyb.feedbackplatform.service.Impl;

import com.rjyb.feedbackplatform.bean.Feedback;
import com.rjyb.feedbackplatform.dao.UserDao;
import com.rjyb.feedbackplatform.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    @Override
    public boolean add(Feedback feedback) {
        return userDao.add(feedback);
    }
}
